package com.yinhe.music.yhmusic.collect;

import com.yinhe.music.yhmusic.base.IBaseView;

public interface CollectContract {

    interface ICollectPresenter {

        /**
         * 收藏、点赞等操作
         *
         * @param id             comment/singer/album id
         * @param collectType    comment/singer/album
         * @param collectStatues 已收藏：1/未收藏0
         */
        void collect(int id, String collectType, int collectStatues);
    }

    interface ICollectView extends IBaseView {
        /**
         * 请求成功返回更新UI
         */
        void updateCollectUI();
    }
}
